{% extends "base.html" %}
{% load ago %}
{% block title %}Index Page{% endblock %}
{% block content %}
<div id="content">

<div id="page_title">FanQueen - Korean Celebrity Fans Unite!</div>
<div id="page_description">Stay up to date on your favorite Korean celebrities.  Bi Rain, Se7en, ...</div>
<br>
<br/ >
<br />

<div id="news">
    <ul>
    <li>
    <b>News</b>
    <p>{{ news_title }}</p>
    <p>{{ news_post_date|ago }}</p>
    <p>{{ news_posted_by }}</p>
    <p>{{ news_content }}</p>
    </li>
    </ul>
</div>


<div id="page_title">{{ dict_video.video_titel }}</div>
<div id="page_description">{{ dict_video.video_description }}</div>
<br>
<div id="video_details">
<ul>
    <li>Upload date: <strong>{{ dict_video.upload_date|ago }}</strong></li>
</ul>
</div>
<br>
<br>
<div id="video_viewer">
<object width="425" height="349">
    <param name="movie" value="{{ dict_video.embed_link }}"></param>
    <embed src="{{ dict_video.embed_link }}" type="application/x-shockwave-flash" width="425" height="349"></embed>
</object>
</div>
<br>
<br>

<div id="celeb_videos">
<p><strong>Latest Videos:</strong></p>
<ul>

{% for video in list_video %}
<li><a href="/video/{{ video.id }}/">
{{ video.upload_date|ago }} - {{ video.title }}
</a></li>
{% endfor %}
<li><a href="/recent/">
More
</a></li>

</div>

<br />
<br />
</div>
{% endblock %}
